package com.lby.the_ioc_container.bean;

/**
 * @author : Leibuyun
 * @time : 2021/12/02 11:14
 * @mail : 508222866@qq.com
 */

public class User {

    private Integer id;

    private String name;

    private Double money;

    private String email;

    public User(Integer id, String name, Double money) {
        this.id = id;
        this.name = name;
        this.money = money;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                '}';
    }
}
